//
//  ExpenseCell.h
//  iMoney
//
//  Created by VertigoSol on 9/24/08.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface ExpenseCell : UITableViewCell {
	
	UILabel* name;
	UILabel* type;
	UILabel* amount;
	UILabel* date;
	UILabel* year;
	BOOL isAddRow;
	
	NSDateFormatter *dateFormatter;
}


@property (nonatomic, retain) UILabel* name;
@property (nonatomic, retain) UILabel* amount;
@property (nonatomic, retain) UILabel* date;
@property (nonatomic, retain) UILabel* type;
@property (nonatomic, retain) UILabel* year;
@property (nonatomic, retain) NSDateFormatter *dateFormatter;

-(void)setVals:(NSString*)nname: (NSString*) ntype: (float)namount: (NSDate*) date;
-(void) makeAddRow:(BOOL) yes;
-(UILabel *)newLabelWithPrimaryColor:(UIColor *)primaryColor selectedColor:(UIColor *)selectedColor fontSize:(CGFloat)fontSize bold:(BOOL)bold;

@end
